package com.cnpc.demos.entity;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;
import com.cnpc.framework.base.entity.Dict;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by billJiang on 2017/2/10.
 * e-mail:jrn1012@petrochina.com.cn qq:475572229
 */
@Entity
@Table(name = "tbl_item_produce")
public class Item extends BaseEntity {

    @Header(name="名称")
    @Column(name="oname")
    private String oname;

    @Header(name="编码")
    @Column(name="code")
    private String code;

    @Header(name="数量")
    @Column(name="ocnt")
    private Integer ocnt;


    @Column(name="jf_date")
    private String jf_date;

    @Column(name="xd_date")
    private String xd_date;

    @Column(name="czwc_date")
    private String czwc_date;

    @Column(name="glwc_date")
    private String glwc_date;


    @Header(name="备注")
    @Column(name="remark")
    private String remark;

    @Header(name="订单号")
    @Column(name="orderId")
    private String orderId;

    @Column(name="status")
    private Integer status;

    @Column(name="complete")
    private Integer complete;


    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getOcnt() {
        return ocnt;
    }

    public void setOcnt(Integer ocnt) {
        this.ocnt = ocnt;
    }

    public String getJf_date() {
        return jf_date;
    }

    public void setJf_date(String jf_date) {
        this.jf_date = jf_date;
    }

    public String getXd_date() {
        return xd_date;
    }

    public void setXd_date(String xd_date) {
        this.xd_date = xd_date;
    }

    public String getCzwc_date() {
        return czwc_date;
    }

    public void setCzwc_date(String czwc_date) {
        this.czwc_date = czwc_date;
    }

    public String getGlwc_date() {
        return glwc_date;
    }

    public void setGlwc_date(String glwc_date) {
        this.glwc_date = glwc_date;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getComplete() {
        return complete;
    }

    public void setComplete(Integer complete) {
        this.complete = complete;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "Item{" +
                "oname='" + oname + '\'' +
                ", code='" + code + '\'' +
                ", ocnt=" + ocnt +
                ", jf_date=" + jf_date +
                ", xd_date='" + xd_date + '\'' +
                ", czwc_date=" + czwc_date +
                ", glwc_date='" + glwc_date + '\'' +
                ", remark='" + remark + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
